package com.gdqy.FCS.dao;

import java.util.List;

import com.gdqy.FCS.common.persistence.CrudDao;
import com.gdqy.FCS.common.persistence.annotation.MybatisDao;
import com.gdqy.FCS.entity.FabricComponent;

@MybatisDao
public interface FabricComponentDao extends CrudDao<FabricComponent> {
	public List<FabricComponent> selectAll();
	
	public FabricComponent selectById(int id);
	
	//获得面料大类
	public List<FabricComponent> selectClass(String parent_code);
	
	public FabricComponent selectByCode(String code);
	
	
}
